package com.bdsoft.actions.departmentManage.Dao;

import com.bdsoft.actions.departmentManage.DTO.DepartmentDTO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;

@Mapper
public interface DepartmentMapper {
    int insertDepartment(DepartmentDTO department);
    int updateDepartment(DepartmentDTO department);
    int deleteDepartment(String deptId);
    Map<String,Object> selectDepartmentById(String deptId);
    List<Map<String,Object>> selectAllDepartments();
} 